package lesson3;

public class Demo1 {
    public static void main(String[] args) {
        Object object = new Person();
        Person person = new Person();
        Student student = new Student();
        //student.
        System.out.println(student instanceof Object);
        System.out.println(object.hashCode());
        System.out.println(person.hashCode());
        System.out.println(student.hashCode());
        Person person1 = person;
        System.out.println(person1.hashCode());



    }
}
